Adding
User-Controlled Playback
You can add
user-controlled playback to an existing application by calling the MCIWndCreate
MCIWndCreate(hwndParent, hInstModule, NULL,
"filename.typ");
The MCIWndCreate
MCIWndCreate automatically performs the following steps that, for
other window classes, you would implement in your code yourself:
1. Register the MCIWnd window class.
2. Create the MCIWnd window.
3. Load the specified content.
4. Establish the current playback position at the
beginning of the content.
5. Display the device control.
6. Display the playback area of the window, if
needed.